package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitIdCardDecodeRouter(Router *gin.RouterGroup) {
	IdCardDecodeRouter := Router.Group("idCardDecode")
	// IdCardDecodeRouter := Router.Group("idCardDecode").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		IdCardDecodeRouter.POST("createIdCardDecode", v1.CreateIdCardDecode)             // 新建IdCardDecode
		IdCardDecodeRouter.DELETE("deleteIdCardDecode", v1.DeleteIdCardDecode)           // 删除IdCardDecode
		IdCardDecodeRouter.DELETE("deleteIdCardDecodeByIds", v1.DeleteIdCardDecodeByIds) // 批量删除IdCardDecode
		IdCardDecodeRouter.PUT("updateIdCardDecode", v1.UpdateIdCardDecode)              // 更新IdCardDecode
		IdCardDecodeRouter.GET("findIdCardDecode", v1.FindIdCardDecode)                  // 根据ID获取IdCardDecode
		IdCardDecodeRouter.GET("getIdCardDecodeList", v1.GetIdCardDecodeList)            // 获取IdCardDecode列表
	}
}
